![]() |
PATH![]() |
![]() ![]() |
As shown in Figure 2-6 , the user can select preferences for the use of sounds in a theme. Therefore, not only may users choose to play sounds associated with various aspects of your program's user interface, but the sounds associated with various interface elements may change with a theme change. If you are using standard interface elements (that is, system-defined windows, controls, and menus), the system automatically plays the appropriate sounds, if any, for these elements in the current theme.
Some programs may not use standard interface elements in all instances, however. In such cases, to ensure that your program's sounds match those used in the current theme, you should use the Appearance Manager to determine the sounds that your program uses. The Appearance Manager provides the following functions for playing theme sounds: